Closed
Bug 1301628
Opened 9 years ago
Closed 9 years ago
dom/* comments don't match the parameter names
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: ninad101, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: clang-analyzer, Whiteboard: [good first bug][lang=C++])
Attachments
(1 file, 2 obsolete files)
1.95 KB,
patch
|
dzbarsky
:
review+
|
Details | Diff | Splinter Review |
This is a trivial bug. This has been found by clang-tidy ( http://clang.llvm.org/extra/clang-tidy/checks/misc-argument-comment.html ).
The idea is to give an easy bug for someone who wants to understand how to contribute to Firefox.
dom/base/nsGlobalWindow.cpp
@ Line 53 argument name 'cancelable' in comment does not match parameter name 'aCancelable'
dom/browser-element/BrowserElementParent.cpp
@ Line 52 argument name 'bubbles' in comment does not match parameter name 'aCanBubble'
argument name 'cancelable' in comment does not match parameter name 'aCancelable'
dom/geolocation/nsGeolocation.cpp
@ Line 125 argument name 'useCapture' in comment does not match parameter name 'aUseCapture'
dom/browser-element/BrowserElementParent.cpp
@ Line 53 argument name 'cancelable' in comment does not match parameter name 'aCancelable'
Reporter | ||
Updated•9 years ago
|
Summary: dom/* Comments doesn't match the parameter names → dom/* comments don't match the parameter names
Assignee | ||
Comment 1•9 years ago
|
||
I will like to work on this as my first bug.
Reporter | ||
Comment 2•9 years ago
|
||
Comment on attachment 8789826 [details] [diff] [review]
Corrects mistake in BrowserElementParent.cpp and nsGlobalWindow.cpp
Looks good, now, you need to find a reviewer:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Introduction#Step_4_-_Get_your_code_reviewed
Reporter | ||
Updated•9 years ago
|
Assignee: nobody → bhat.ninadmb
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8789826 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8789833 -
Flags: review?(sledru)
Reporter | ||
Comment 4•9 years ago
|
||
Comment on attachment 8789833 [details] [diff] [review]
Contains changes of nsGlobalWindow.cpp, BrowserElementParent.cpp and nsGeolocation.cpp
I am not the reviewer (you should look at the doc).
I can give feedback.
Attachment #8789833 -
Flags: review?(sledru) → feedback+
Assignee | ||
Comment 5•9 years ago
|
||
Ok, got it.
Thanks.
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8789833 -
Attachment is obsolete: true
Assignee | ||
Comment 7•9 years ago
|
||
:dzbarsky will you be able to review this patch?
Flags: needinfo?(dzbarsky)
Comment 8•9 years ago
|
||
Comment on attachment 8789856 [details] [diff] [review]
Contains changes of nsGlobalWindow.cpp, BrowserElementParent.cpp and nsGeolocation.cpp
Review of attachment 8789856 [details] [diff] [review]:
-----------------------------------------------------------------
Thank you for the patch!
Attachment #8789856 -
Flags: review+
Reporter | ||
Comment 9•9 years ago
|
||
Good Ninad, now, you should just add the keyword "checkin-needed" in the list of keyword and your patch is going to be merged by a sheriff. Bravo!
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 10•9 years ago
|
||
Sylvestre and David thank you very much.
Flags: needinfo?(dzbarsky)
Comment 11•9 years ago
|
||
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/eed2a76f1a59
Corrects misc-argument-comment. r=dzbarsky
Keywords: checkin-needed
Comment 12•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in
before you can comment on or make changes to this bug.
Description
•